How to communicate one API with another API